<?php

/**
 *      [Discuz!] (C)2001-2099 Comsenz Inc.
 *      This is NOT a freeware, use is subject to license terms
 *
 *      $Id: space_notice.php 34047 2013-09-25 04:41:45Z nemohou $
 */

if(!defined('IN_DISCUZ')) {
	exit('Access Denied');
}
$orderid = $_POST['orderid'];
$res = DB::fetch_first("SELECT paystate FROM pre_common_member_topup where orderid = $orderid");
if($res['paystate'] == 1){
	echo 1;
}else{
	echo 0;
}
?>